package com.lianxueda.drawing.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName("classes")
public class Classes {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField("start_time")
    private LocalDate startTime;

//    @TableField("teacherId")
//    private Integer teacherId;
//
//    @TableField(exist = false)
//    private String teacherName;

}
